package com.aiit.ssm.dao;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.aiit.ssm.model.Employee;

public interface EmployeeDao {
	
	//保存员工
	public int save(Employee emp);
	//修改员工
	public int updateEmployee(Employee empt);
	
	
	//查询员工
	public List<Employee> findAllEmployee();
	
	public Employee findEmployee(int id);
	
	//删除员工
	public int deleteEmployee(int id);
	

	//根据员工姓名查询记录记录数
	public int findEmpByName(String name);
	
	//查询员工总记录数
	public long findTotalRecords();
	//导入
	public void InputExcel(Map<String, Object> map);
	
	//自动补全和模糊搜索
	public List<Employee> searchEmp(String name);
	
	public ArrayList<String> searchEmpName();
	
	
}
